from django import forms
from microblog.polls.models import *
from django.contrib import admin

class PollAdmin(admin.ModelAdmin):
  list_display = ('id','question','pub_date')
  
class ChoiceAdmin(admin.ModelAdmin):
  list_display = ('id','poll','choice','votes')



admin.site.register(Poll, PollAdmin)
admin.site.register(Choice, ChoiceAdmin)